﻿//////////////////////////////////////////////////////////////////
//
// MeadBrewery.cs
//
// Copyright (c) 2012 Dan Pike. All rights reserved
//
// Refer to license.txt for any license restrictions.
// 
using Entities.Materials;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities.Factories
{
   public class MeadBrewery : Factory
   {
      //////////////////////////////////////////////////////////////////////////
      //
      public MeadBrewery(World world)
         : base(world)
      {
         name = "MeadBrewery";
         output = world.almanac.mead;
         output.producer = this;
         output.count = 2.0;

         inputs.Add(world.almanac.honey, 2.0);
      }

      //////////////////////////////////////////////////////////////////////////
      //
      public override int GetHashCode() { return (int)HashCodes.MeadBrewery; }
      internal override Precedences precedence { get { return Precedences.MeadBrewery; } }
   }
}
